package sms.service;

import sms.entity.User;

import java.util.Optional;

public interface UserService {
    //账号与密码登录
    User login(String username, String password);
    //添加用户
    void addUser(User user);
    //获得用户
    User getUser(int id);
}